package com.ruoyi.common.core.domain.entity;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 gw_personal
 *
 * @author ruoyi
 * @date 2024-07-23
 */
@Data
public class GwPersonal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号，自增ID */
    private Long personalId;

    /** 用户名字 */
    @Excel(name = "用户名字")
    private String userName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 照片文件路径 */
    @Excel(name = "照片文件路径")
    private String personalUrlA;

    /** 照片文件路径 */
    @Excel(name = "照片文件路径")
    private String personalUrlB;

    /** 绑定用户ID */
    @Excel(name = "绑定用户ID")
    private Long userId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setPersonalId(Long personalId)
    {
        this.personalId = personalId;
    }

    public Long getPersonalId()
    {
        return personalId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setPhoneNumber(String phoneNumber)
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber()
    {
        return phoneNumber;
    }
    public void setPersonalUrlA(String personalUrlA)
    {
        this.personalUrlA = personalUrlA;
    }

    public String getPersonalUrlA()
    {
        return personalUrlA;
    }
    public void setPersonalUrlB(String personalUrlB)
    {
        this.personalUrlB = personalUrlB;
    }

    public String getPersonalUrlB()
    {
        return personalUrlB;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("personalId", getPersonalId())
            .append("userName", getUserName())
            .append("phoneNumber", getPhoneNumber())
            .append("personalUrlA", getPersonalUrlA())
            .append("personalUrlB", getPersonalUrlB())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
